<%--
  Created by IntelliJ IDEA.
  User: wgy
  Date: 2019/4/24
  Time: 14:17
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<html>
<head>
    <title>文件列表</title>
</head>
<body>
<h2>下载文件列表</h2>
<c:forEach items="${filename}" var="entry">
    <c:url value="/download" var="downurl">
        <c:param name="filename" value="${entry.key}"></c:param>
    </c:url>

    <a href="${downurl}">${entry.value}</a><br/>

</c:forEach>
</body>
</html>
